<template>
  <div id="app">
    <!--  此app.vue用于tab案例 下面router-view就是展示tab -->
    <!-- <router-view/> -->

    <!-- 购物车案例 -->
    <Comp />
  </div>
</template>

<script>
import Comp from '@/components/Comp1.vue'
export default {
  name: 'App',
  components:{
    Comp
  }
}
</script>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
